<?php

namespace app\admin\model;

use think\Model;

class Orderinfo extends Model
{
    // 表名
    protected $connection = 'database.cheat';
    protected $table = 'orderinfo';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';

    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    
    // 追加属性
    protected $append = [

    ];



    /*public function getGoodsPicAttr($value){
        $value=str_replace(SHOPURL,'',$value);
        return $value;
    }*/






}
